package com.nuoniu.sibanyun.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 单据唯一code管理实体表名
 * </p>
 *
 * @author baiqiang
 * @since 2020-11-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pub_related_code_table")
@ApiModel(value="ErpVoucherTable对象", description="单据唯一code管理实体表名")
public class ErpVoucherTable extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单据类型唯一编码")
    @TableField("voucher_type_code")
    private String voucherTypeCode;

    @ApiModelProperty(value = "单据类型名称")
    @TableField("voucher_type_name")
    private String voucherTypeName;

    @ApiModelProperty(value = "模块名称")
    @TableField("module_name")
    private String moduleName;

    @ApiModelProperty(value = "模块编码")
    @TableField("module_code")
    private String moduleCode;

    @ApiModelProperty(value = "具体单据表名")
    @TableField("table_name")
    private String tableName;

    @ApiModelProperty(value = "具体单据别名")
    @TableField("table_alias")
    private String tableAlias;

    @ApiModelProperty(value = "明细表名")
    @TableField("detail_table_name")
    private String detailTableName;

    @ApiModelProperty(value = "明细别名")
    @TableField("detail_table_alias")
    private String detailTableAlias;

    @ApiModelProperty(value = "Sql 短语")
    @TableField("sql_phrase")
    private String sqlPhrase;


}
